package com.weishi.project.training.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishi.project.training.domain.TrainingGroup;

/**
 * 训练小组Mapper接口
 */
public interface TrainingGroupMapper extends BaseMapper<TrainingGroup> {

    /**
     * 查询训练小组列表
     */
    List<TrainingGroup> selectTrainingGroupList(TrainingGroup trainingGroup);

    List<TrainingGroup> selectTrainingGroupList1(TrainingGroup trainingGroup);

    List<TrainingGroup> getGroupNameList();

    /**
     * 根据weekId和trainingDayId查询小组id集合返回给前端
     * @param map
     * @return List<TrainingGroup>
     */
    List<TrainingGroup> getTrainingGroup(Map<String,Object> map);

    Integer getTrainingDayIdByGroupId(int groupId);




    
}